import {
  UPDATE_MAINTAIN_LIST
} from './action-types'

type State = {
  projectItem: any
}

const INITIAL_STATE: State = {
  projectItem: undefined
}
export default function user(state = INITIAL_STATE, action) {
  switch (action.type) {
   
    case UPDATE_MAINTAIN_LIST:
      console.log('action:', action.projectItem)
      return {
        ...state,
        projectItem: action.projectItem
      }
    default:
      return state
  }
}